export interface KnowledgeBase {
  id: string;
  name: string;
  description: string;
  doc_num: number;
  avatar: string;
  nickname: string;
  permission: string;
  update_time: string;
  create_time: string;
  platform?: 'taobao' | 'tmall' | 'pdd' | 'jd' | 'douyin' | 'xiaohongshu'; // 新增平台字段
}

export interface Document {
  id: string;
  name: string;
  chunk_num: number;
  upload_date: string;
  chunking_method: string;
  enable: boolean;
  parsing_status: 'Success' | 'Processing' | 'Failed';
  file_type: string;
}

export interface UserInfo {
  nickname: string;
  avatar: string;
}

export interface ShopData {
  name: string;
  icon: string;
}
